@import 'styles/settings';
@import 'styles/typography-extends';

.cardContainer {
  padding: $sidebar-paddings;
}

.chartContainer {
  position: relative;
}

.title {
  @extend %_temporaryTitle;
  margin: 0;
  color: $_temporary-dark-text;
  text-align: center;
}

.chartLegend {
  background-color: white;
  box-shadow: 0 0 10px 2px rgba(0,0,0,0.3);
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 77px;
  align-items: center;
  position: absolute;
  top: 75px;
  left: 55px;
}

.legendItem {
  @extend %subtitle;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: $sidebar-paddings;
}

.speciesCount,
.speciesSentence {
  @extend %bodyText;
  color: $_temporary-dark-text;
}

.speciesCount {
  display: flex;
  align-items: center;
}

.birdsIcon,
.mammalsIcon,
.reptilesIcon,
.amphibiansIcon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  border-radius: 13px;
  margin-right: 10px;
}

.birdsIcon {
  background-color: $birds-color;
}

.mammalsIcon {
  background-color: $mammals-color;
}

.reptilesIcon {
  background-color: $reptiles-color;
}

.amphibiansIcon {
  background-color: $amphibians-color;
}

.speciesLegend {
  margin-bottom: 25px;
}

.actionButton {
  width: 100%;
  justify-content: center;
}